CC = g++

CFLAGS = -Wall -O3

LIBS = 

INCLUDES = 

PROG = gary

OBJS = main.o chromosome.o ga.o individual.o population.o prision.o logger.o

all: $(PROG)

$(PROG): $(OBJS)
	$(CC) $(CFLAGS) $(LIBS) $(INCLUDES) $(OBJS) -o $(PROG)
	mv $(PROG) ..


%.o: %.cpp
	$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@

clean:
	- rm -rf *.o $(PROG)


.PHONY: clean move
